Move IOMMU faults handling into softirq for VT-d.
authorDario Faggioli <dario.faggioli@citrix.com>
Tue, 17 Jan 2012 11:11:26 +0000 (11:11 +0000)
committerDario Faggioli <dario.faggioli@citrix.com>
Tue, 17 Jan 2012 11:11:26 +0000 (11:11 +0000)
commitf7f025a9a66c9e6c14acb296ff7ce22c4aed85e8
tree9977942d5c48542ba0124346439938cf990ee1dd
parent6031949b0f70fcddfcac6b5d62c0b564810e4bd8
Move IOMMU faults handling into softirq for VT-d.

Dealing with interrupts from VT-d IOMMU(s) is deferred to a
softirq-tasklet, raised by the actual IRQ handler. Since a new
interrupt is not generated, even if further faults occur, until we
cleared all the pending ones, there's no need of disabling IRQs, as
the hardware does it by its own.  Notice that this may cause the log
to overflow, but none of the existing entry will be overwritten.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/drivers/passthrough/vtd/iommu.c